/* 
    Created on : Sep 29, 2014, 5:40:05 AM
    Author     : Hashan
*/

form label {
    float: left;
    width: 150px;
    margin-bottom: 5px;
    margin-top: 5px;
}
.clear {
    display: block;
    clear: both;
    width: 100%;
}

form,table {
    width:25em;
    max-width:75%;
    margin:auto;
}


nav {
    box-shadow: 0 0 1em #999999;
    margin:0 0 3em 0;
}
nav,
nav * {
    color: #000000;
    background-color: #ffffff;
}
nav ul {
    list-style-type: none;
    margin: 0;
    margin-left: 5em;
    padding: 0.5em;
}
nav li {
    display: inline-flex;
    flex-wrap: wrap;
    margin: 0;
}
nav li a {
    display: block;
    text-decoration: none !important;
    color:black !important;
    padding: 0.5em;
}
nav li a:hover {
    text-shadow: 0 0 0.3em #666666;
    box-shadow: 0 0 0.1em black inset,0 0 0.1em black outset;
    color:black;
    text-decoration: none   ;
}
@font-face {
    font-family: Sansation;
    src: url(sansation_light.woff) format('woff');
}
@font-face {
    font-family: Sansation;
    src: url(sansation_bold.woff) format('woff');
    font-weight: bold;
}
@font-face {
    font-family: 'Helvetica Neue';
    font-style: normal;
    font-weight: 400;
    src: local('Helvetica Neue'), local('HelveticaNeue'), url(HelveticaNeue.woff) format('woff');
}
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: local('Ubuntu'), url(Ubuntu.woff) format('woff');
}
* {
    transition-duration: 0.35s;
    font-family: proxima-nova, "Helvetica Neue", Ubuntu, Helvetica, Arial, sans-serif;
}
body {
    background-color: #ffffff;
    color: #000000;
}
h1,
h2 {
    text-align: center;
}
#topbanner {
    height: 6em;
    z-index: -50;
}
#topbanner > * {
    float: right;
    display: box;
    margin-top: 1.5em;
    z-index: -49;
}
#topbanner > :first-child {
    float: left;
    width: 20%;
    margin-left: 2em;
}
#btnlogin {
    background-color: #808080;
}
#btnlogincontainer {
    display: block;
    text-decoration: none;
}

@navbar_padding: 0.5em;
@navbar_back_color:white;
@navbar_text_color:black;
@navlighttheme: true;


nav when (@navlighttheme = false){
    box-shadow: 0 0 1em lighten(@navbar_back_color,40%);
}
nav when (@navlighttheme = true){
    box-shadow: 0 0 1em darken(@navbar_back_color,40%);
}

nav,nav *{
    color: @navbar_text_color;
    background-color: @navbar_back_color;
}
nav ul{
    list-style-type: none;
    margin: 0;
    margin-left: 5em;
    padding: @navbar_padding;
}

nav li{
    display: /*inline-block*/ inline-flex;
    flex-wrap: wrap;
    margin: 0;
}

nav li a{
    display:block;
    text-decoration: none   ;
    padding: @navbar_padding;
}

nav li a:hover when (@navlighttheme = false){
    text-shadow: 0 0 0.3em @navbar_text_color;
}
nav li a:hover when (@navlighttheme = true){
    text-shadow: 0 0 0.3em lighten(@navbar_text_color,40%);
}
nav li a:hover {
    box-shadow: 0 0 0.1em black inset,0 0 0.1em black outset;
}

nav{
}
#infomessage,#errormessage{
    margin:0.5em;
    margin-top:2em;
    margin-bottom: 2em;
    padding: 0.5em;
}
#infomessage{
    border: 1px solid green;
    background-color: #AAFFAA;
}
#errormessage{
    border: 1px solid red;
    background-color: #FFAAAA;
}

.messagehidden{
    display: none;
}